<template>
  <div class="text-center success_page">
    <span class="green-font"><i
        style="font-size:88px"
        class="el-icon-circle-check"
      ></i></span>
    <h2 class="green-font">{{isEdit?"编辑商品提交审核":"发布商品提交审核"}}</h2>
    <p>商品通常在<span class="warning-font">2个小时内</span>完成审核，根据设置商品审核通过后将自动{{isEdit?'下架':'上架'}}，请耐心等待...</p>
    <p class="color-999">商品编号：{{goodsId}}</p>
    <p class="btns">
      <el-button
        v-if="!isEdit"
        type="primary"
        @click="$router.push({name:'goodsAdd'})"
      >继续发布</el-button>
      <el-button
        class="blue_border"
        @click="$router.push({name:'goodsIndex'})"
      >查看商品列表</el-button>
    </p>
  </div>
</template>

<script>
export default {
  props: ["goodsId", 'isEdit'],
  data() {
    return {
    }
  }
}
</script>

<style lang="scss" scoped>
.success_page {
  padding: 50px 0;
  line-height: 35px;
  .btns {
    margin-top: 20px;
  }
}
</style>
